package com.xh.xyzp.domain.vo;

import com.xh.xyzp.util.AssertUtil;
import lombok.Data;

/**
 * @Author: xainghao
 * @Description:
 * @Date: 2025-04-12  13:51
 */
@Data
public class JobSubmitReq {
    private Long id;
    private String name;
    private String introduce;
    private String salary;
    private String address;
    private String type;
    private String category;
    private String experience;
    private String education;
    private Integer status;
    private Integer examineStatus;

    public void checkParams() {
        AssertUtil.isNotEmpty(name, "姓名不能为空");
        AssertUtil.isNotEmpty(introduce, "介绍不能为空");
        AssertUtil.isNotEmpty(salary, "薪资不能为空");
        AssertUtil.isNotEmpty(address, "地址不能为空");
    }
}
